/**
 * Description:一些注释<br/>
 * CreateTime:2019-03-27<br/>
 * Creater: yangpengfei360@126.com <br/>
 * @author yangpengfei
 */
package cn.cnsy123.bookwebsiteserver.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Description:一些注释<br/>
 * CreateTime:2019-03-27<br/>
 * Creater: yangpengfei360@126.com <br/>
 * @author yangpengfei
 */
@Entity
@Table(name = "BOOK_PAGE_GROUP_INFO")
public class SysPageGroupInfo {

    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name = "GROUP_ID")
    private Long groupId;
    
    @Column(name = "GROUP_NAME",length = 20)
    private String groupName;
    
    @Column(name = "GROUP_ORDER",length = 5)
    private Integer groupOrder;

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Integer getGroupOrder() {
        return groupOrder;
    }

    public void setGroupOrder(Integer groupOrder) {
        this.groupOrder = groupOrder;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("\"SysPageGroupInfo\":{\"groupId\":");
        builder.append(groupId);
        builder.append(", \"groupName\":");
        builder.append(groupName);
        builder.append(", \"groupOrder\":");
        builder.append(groupOrder);
        builder.append("}");
        return builder.toString();
    }

    

    
    
    
}
